﻿@model SampleApp.Web.SysModule.Models.ChangePasswordModel
@{
    Layout = "/Default/Views/Shared/_EditLayout.cshtml";
    ViewBag.Title = "修改密码";
}
<p>提示:密码须6位以上字符</p>
<div class="eidtDiv pBoxDiv">

@using (Html.BeginForm())
{
     @Html.ValidationSummary(true, "修改密码失败,请重试...")
        <span class="header">修改密码</span>
        <ul>
            <li class="column">
                <div class="column">
                    <span class="label">原密码</span>
                    @Html.PasswordFor(i => i.OldPassword)
                    @Html.ValidationMessageFor(m => m.OldPassword)
                </div>
            </li>

            <li class="column">
                <div class="column">
                    <span class="label">新密码</span>
                    @Html.PasswordFor(i => i.NewPassword)
                    @Html.ValidationMessageFor(m => m.NewPassword)
                </div>
            </li>

            <li class="column">
                <div class="column">
                    <span class="label">再次输入</span>
                    @Html.PasswordFor(i => i.ConfirmPassword)
                    @Html.ValidationMessageFor(m => m.ConfirmPassword)
                </div>
            </li>
        </ul>
        <div class="operateDiv pBoxDiv">
            <button type="submit" id="saveButton">确认修改</button>
        </div>
}
</div>


@section js
{
    <script type="text/javascript">

        $(function () {
            $("#saveButton").button();
        });
    </script>
}
